package dao.v2;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import model.BoardVO;
import model.FileVO;
import model.GoodDeliveryInterCountryVO;
import model.GoodStandardVO;
import model.GoodVO;
import model.OrderEvaluateVO;
import model.OrderGoodVO;
import model.SendTempItemVO;
import model.StandardVO;

public interface GoodVOMapper {

	List<GoodVO> getHotList(GoodVO goodVO);

	GoodVO getGoodById(@Param("id")String id, @Param("file_cat")String file_cat);

	int getTotal(GoodVO goodVO);

	List<GoodVO> getGoodList(GoodVO goodVO);

	int checkGoodStandardById(String id);
	/*商品详细 图文详细*/
	GoodVO getGoodDetilById(String good_id);

	int getSpecialTotal(GoodVO goodVO);

	List<GoodVO> getSpecialGoodList(GoodVO goodVO);
	
	OrderEvaluateVO getOneEvaluByGoodId(String good_id);
	
	List<FileVO> getFileByFolderId(String folder_id);

	String getMemberLogo(String member_id);
	
	String getMemberNickName(String member_id);
	
	String getImgEvaluByGoodId(String good_id);

	List<GoodVO> getRandomGoodListNoLogin(GoodVO goodVO);

	List<GoodVO> getRandomGoodListLogin(@Param("member_id")String member_id,@Param("member_recommend")String member_recommend);
	
	String getMemberRecommend(@Param("member_id") String member_id, @Param("num") String num);

	int checkGoodById(String good_id);

	List getGoodPackageName(String good_id);

	GoodVO getGoodInfoById(@Param("good_id") String good_id, @Param("folder_cat") String folder_cat);

	void updataShareTimes(GoodVO goodVO);
	
	List<StandardVO> getStadnardTypeByGoodId(String good_id);
	
	List<StandardVO> getChildNameByGoodId(@Param("good_id") String good_id, @Param("type_id") String type_id);
	
	List<GoodStandardVO> getStandardListDetails(String good_id);
	
	StandardVO getStandardIdNum(@Param("map")Map<String, Object> map);
	
	StandardVO getOneType(@Param("map")Map<String, Object> map);
	
	StandardVO getOneType1(@Param("map")Map<String, Object> map);
	
	List<StandardVO> getPartOfDetails(@Param("map")Map<String, Object> map);
	
	List<StandardVO> getPartOfDetails1(@Param("map")Map<String, Object> map);
	
	String getMinSellPriceByGoodId(String good_id);
	
	String getMinMarketPriceByGoodId(String good_id);
	
	String getPriceRange(String good_id);
	
	GoodVO getGoodByStandardId(String standard_id);
	
	List<OrderGoodVO> getOrderGoodList();
	
	void updOrderGoodImg(@Param("id")String id, @Param("file_name")String file_name);
	
	void updTest();

	List<SendTempItemVO> getSendTempItemBySendTempId(@Param("send_temp_id")String send_temp_id,@Param("city_id") String city_id);

	String getGoodStandardId(String good_id);


	GoodVO selectgood(String good_id);

	List<GoodVO> getOrdinaryMemberGoodList(GoodVO goodVO);

	List<GoodVO> getGoodListT(GoodVO goodVO);

	int getOrdinaryMemberGoodListCount(GoodVO goodVO);


	List<GoodVO> getOrdinaryGoodList(@Param("goodVO")GoodVO goodVO, @Param("limitfrom")int limitfrom, @Param("page_count")int page_count);

	String checkCountry(String standard_id);

	List<GoodVO> getHotWatchByGoodId(String id);

	GoodDeliveryInterCountryVO getSendTempItemBySendTempIdEn(@Param("good_temp_id")String good_temp_id, @Param("country_id")String country_id);

}
